////////////////////////////////////////////////////////////////////////////////
// Copyright 2009 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   XLS
// AUTHOR           :   Saint Peng 
// DATE CREATE      :   2009/05/13
// DESCRIPTION      :   a CRITERIA file for the function, XLS
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2009/05/13   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.common.xls.criteria;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.erp.framework.model.criteria.SimpleSearchMaintStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Saint Peng 
* @version 1.0     2009/05/13
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class XlsHdrSrchCriteria extends SimpleSearchMaintStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_XLS_HDR)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchHdrStatus;                    //DB Column Name: STATUS
	private String srchMenuIdFr;                     //DB Column Name: MENU_ID
	private String srchMenuIdTo;                     //DB Column Name: MENU_ID
	private String srchFunIdFr;                      //DB Column Name: FUN_ID
	private String srchFunIdTo;                      //DB Column Name: FUN_ID
	private String srchHdrHdrFrFr;                   //DB Column Name: HDR_FR
	private String srchHdrHdrFrTo;                   //DB Column Name: HDR_FR
	private String srchHdrHdrToFr;                   //DB Column Name: HDR_TO
	private String srchHdrHdrToTo;                   //DB Column Name: HDR_TO
	private String srchHdrDtlFrFr;                   //DB Column Name: DTL_FR
	private String srchHdrDtlFrTo;                   //DB Column Name: DTL_FR

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchMenuIdFr = " + this.srchMenuIdFr
			+ "\n, srchMenuIdTo = " + this.srchMenuIdTo
			+ "\n, srchFunIdFr = " + this.srchFunIdFr
			+ "\n, srchFunIdTo = " + this.srchFunIdTo + "}\n";

		String colStr = "COL: {srchHdrHdrFrFr = " + this.srchHdrHdrFrFr
			+ "\n, srchHdrHdrFrTo = " + this.srchHdrHdrFrTo
			+ "\n, srchHdrHdrToFr = " + this.srchHdrHdrToFr
			+ "\n, srchHdrHdrToTo = " + this.srchHdrHdrToTo
			+ "\n, srchHdrDtlFrFr = " + this.srchHdrDtlFrFr
			+ "\n, srchHdrDtlFrTo = " + this.srchHdrDtlFrTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchHdrStatus = " + this.srchHdrStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchHdrStatus() {
		return this.srchHdrStatus;
	}

	public String getSrchMenuIdFr() {
		return this.srchMenuIdFr;
	}

	public String getSrchMenuIdTo() {
		return this.srchMenuIdTo;
	}

	public String getSrchFunIdFr() {
		return this.srchFunIdFr;
	}

	public String getSrchFunIdTo() {
		return this.srchFunIdTo;
	}

	public String getSrchHdrHdrFrFr() {
		return this.srchHdrHdrFrFr;
	}

	public String getSrchHdrHdrFrTo() {
		return this.srchHdrHdrFrTo;
	}

	public String getSrchHdrHdrToFr() {
		return this.srchHdrHdrToFr;
	}

	public String getSrchHdrHdrToTo() {
		return this.srchHdrHdrToTo;
	}

	public String getSrchHdrDtlFrFr() {
		return this.srchHdrDtlFrFr;
	}

	public String getSrchHdrDtlFrTo() {
		return this.srchHdrDtlFrTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchHdrStatus(String srchHdrStatus) {
		this.srchHdrStatus = srchHdrStatus;
	}

	public void setSrchMenuIdFr(String srchMenuIdFr) {
		this.srchMenuIdFr = srchMenuIdFr;
	}

	public void setSrchMenuIdTo(String srchMenuIdTo) {
		this.srchMenuIdTo = srchMenuIdTo;
	}

	public void setSrchFunIdFr(String srchFunIdFr) {
		this.srchFunIdFr = srchFunIdFr;
	}

	public void setSrchFunIdTo(String srchFunIdTo) {
		this.srchFunIdTo = srchFunIdTo;
	}

	public void setSrchHdrHdrFrFr(String srchHdrHdrFrFr) {
		this.srchHdrHdrFrFr = srchHdrHdrFrFr;
	}

	public void setSrchHdrHdrFrTo(String srchHdrHdrFrTo) {
		this.srchHdrHdrFrTo = srchHdrHdrFrTo;
	}

	public void setSrchHdrHdrToFr(String srchHdrHdrToFr) {
		this.srchHdrHdrToFr = srchHdrHdrToFr;
	}

	public void setSrchHdrHdrToTo(String srchHdrHdrToTo) {
		this.srchHdrHdrToTo = srchHdrHdrToTo;
	}

	public void setSrchHdrDtlFrFr(String srchHdrDtlFrFr) {
		this.srchHdrDtlFrFr = srchHdrDtlFrFr;
	}

	public void setSrchHdrDtlFrTo(String srchHdrDtlFrTo) {
		this.srchHdrDtlFrTo = srchHdrDtlFrTo;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}
